<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Insert title here</title>
</head>
<body>
	<h3>区域查询界面渲染</h3>
	<table>
		<tr>
			<td><a th:href="@{'/area/add'}">添加区域</a></td>	
			<span th:text="${msg}"></span>		
		</tr>
		<tr>
			<th>id</th>
			<th>姓名</th>
			<th>年龄</th>
		</tr>		
		<tr th:each="area: ${list}">
			<td th:text="${area.id}"></td>
			<td th:text="${area.area}"></td>
			<td th:text="${area.name}"></td>
			<td th:text="${area.isuse}"></td>
			<td th:text="${area.deletec}"></td>
			<td><a th:href="@{'/area/'+${area.id}}">查看</a></td>
			<td><a th:href="@{'/area/edit/'+${area.id}}">编辑</a></td>			
			<td><a th:href="@{'/area/delete/'+${area.id}}">删除</a></td>
		</tr>		
	</table>	
</body>
</html>